<%@page import="systems.RecentlyDomain"%>
<%@page import="java.util.List"%>
<%
List<String> domains = RecentlyDomain.getDomains();
%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<jsp:include page="/layouts/header.jsp" />

<header>
	<div class="container">
		<div class="addthis">
			<!-- AddThis Button BEGIN -->				
			<div class="addthis_toolbox addthis_default_style ">
			<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
			<a class="addthis_button_tweet"></a>
		
			<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
			<a class="addthis_counter addthis_pill_style"></a>
			</div>
            <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f4f217074402877"></script>
            <!-- AddThis Button END -->
		</div>
		
		<h1>Keyword Ranking</h1>
		<h2>Check Google Ranking Keyword.</h2>
	</div>
</header>

<section id="search-form">
	<div class="container">
		<div class="adv">
			<script type="text/javascript"><!--
			google_ad_client = "ca-pub-4975603569119809";
			/* traceip_468x15 */
			google_ad_slot = "6636286518";
			google_ad_width = 468;
			google_ad_height = 15;
			//-->
			</script>
			<script type="text/javascript"
			src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
		</div>
		<br />
		<p>This tool help you analyze your website ranking position in Google.</p>
		
		<div class="form-search">
			<form action="/goto" method="get">
				<div class="controls controls-row hide-me">
					 <input type="text" placeholder="enter domain" value="" name="q" class="span5" id="q">
	                 <button type="submit" class="span2 btn btn-fancy" id="submit">Search</button>
				</div>
			</form>
		</div>
		
		<br />
		<div class="adv">
       		<script type="text/javascript"><!--
			google_ad_client = "ca-pub-4975603569119809";
			/* traceip_728x15 */
			google_ad_slot = "8113019715";
			google_ad_width = 728;
			google_ad_height = 15;
			//-->
			</script>
			<script type="text/javascript"
			src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
       	</div>
	</div>
</section>

<section id="main">
	<div class="container">
		<div class="row-fluid">
			<div class="span8">
				<h3>Recently Domain Update</h3>
				<ul class="list row4">
					<% 
	          		for (int i = 0; i < domains.size(); i++){ 
	          			if (i > 23) break;
	          		%>
	          		<li><a href="/d/<%=domains.get(i)%>"><%=domains.get(i)%></a></li>
	          		<% } %>
				</ul>
			</div>
			<div class="span4">
				<div class="adv">
					<script type="text/javascript"><!--
					google_ad_client = "ca-pub-4975603569119809";
					/* traceip_250x250 */
					google_ad_slot = "1926885314";
					google_ad_width = 250;
					google_ad_height = 250;
					//-->
					</script>
					<script type="text/javascript"
					src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
					</script>
				</div>
			</div>
		</div>
	</div>
</section>

<jsp:include page="/layouts/footer.jsp" />	